]> dgit.raspbian.org Git - gnome-shell.git/commit
Simplify handling of adjustments
authorOwen W. Taylor <otaylor@fishsoup.net>
Wed, 10 Mar 2010 23:32:10 +0000 (18:32 -0500)
committerOwen W. Taylor <otaylor@fishsoup.net>
Thu, 11 Mar 2010 20:08:48 +0000 (15:08 -0500)
commit89173544d47347f44b41f2c81a8f8fe35d2df579
treeb9d0f3e2664cb623e70c62b88b842e2614a7b68b
parent163b2d040361b15420bec152655b6a57a514ab1f
Simplify handling of adjustments

The relationship between adjustments and scrollbars and
scrollable widgets was much more complex than it needed to be.

StScrollView: Have the scroll view own a pair of adjustments,
  set them on the child on add(), remove unnecessary
  change notification signal connections.
StBoxLayout: Remove auto-create of adjustments, just take the
  adjustments from the scrollbars and set them on the scrollable
  child. Notify for hadjustment/vadjustment properties.
StScrollBar: Notify adjustment property.
StScrollable: Document how adjustment setting works.

https://bugzilla.gnome.org/show_bug.cgi?id=611740
src/st/st-box-layout.c
src/st/st-scroll-bar.c
src/st/st-scroll-view.c
src/st/st-scrollable.c